let achieveProcess = {
    sale: 0,
    shop: 0,
    ad: 0,
    money: 0,
}

let achieve = [
    {
        id: 1, title: '奶茶王子', content: '累计卖出奶茶2000杯', cur: 0, all: 2000,type: "sale"
    },
    {
        id: 2, title: '奶茶大亨', content: '累计卖出奶茶10000杯',cur: 2000, all: 10000, type: "sale"
    },
    {
        id: 3, title: '奶茶王者', content: '累计卖出奶茶20000杯', cur: 0, all: 20000, type: "sale"
    },
    {
        id: 4, title: '奶茶霸主', content: '累计卖出奶茶100000杯', cur: 0, all: 100000, type: "sale"
    },
    {
        id: 4, title: '中国联盟茶主', content: '累计卖出奶茶1000000杯', cur: 0, all: 1000000, type: "sale"
    },
    {
        id: 4, title: '世界联盟茶王', content: '累计卖出奶茶10000000杯', cur: 0, all: 10000000, type: "sale"
    },
    {
        id: 4, title: '奶茶妹妹最爱', content: '累计卖出奶茶100000000杯', cur: 0, all: 100000000, type: "sale"
    },
    {
        id: 5, title: '分店小才子', content: '开出第1家分店', cur: 0, all: 1, type: "shop"
    },
    {
        id: 6, title: '商业小天才', content: '累计开出5家分店', cur: 0, all: 5,type: "shop"
    },
    {
        id: 7, title: '商业奇才', content: '累计开出9家分店', cur: 0, all: 9, type: "shop"
    },
    {
        id: 8, title: '融资新贵', content: '累计获取融资1w', cur: 0, all: 1, type: "ad"
    },
    {
        id: 9, title: '融资小天才', content: '累计获取融资10w', cur: 0, all: 10,type: "ad"
    },
    {
        id: 10, title: '融资高手', content: '累计获取融资30w', cur: 0, all: 30, type: "ad"
    },
    {
        id: 11, title: '融资高手', content: '累计获取融资50w', cur: 0, all: 50, type: "ad"
    },
    {
        id: 12, title: '融资大亨', content: '累计获取融资80w', cur: 0, all: 80, type: "ad"
    },
    {
        id: 13, title: '融资天才', content: '累计获取融资100w', cur: 0, all: 100, type: "ad"
    },
    {
        id: 14, title: '融资大神', content: '累计获取融资520w', cur: 0, all: 520, type: "ad"
    },
    {
        id: 15, title: '第一桶金', content: '累计个人财富达到100w', cur: 0, all: 1000000, type: "money"
    },
    {
        id: 16, title: '1个小目标', content: '累计个人财富达到1Y', cur: 0, all: 100000000, type: "money"
    },
    {
        id: 17, title: '5个小目标', content: '累计个人财富达到5Y', cur: 0, all: 500000000, type: "money"
    },
    {
        id: 18, title: '10个小目标', content: '累计个人财富达到10Y', cur: 0, all: 1000000000, type: "money"
    },

]
let shopData = {
    //加盟资格
    openMap:{
        canOpen:false,
        openMoney:300000,
        canStock: false,
    },
    shopList:[
        {
            "id":"nanping","shopName":"南平店","workers":3,"startMoney":100000,"income":0,"customer":3,"status":1,"money":10000,
            famous:150,rent:29000,cost:0,manager:1,loaction:6,stock:220,level:1,ice:100,leftStock:100,leftIce:100
        },
        {
            "id":"ningde","shopName":"宁德店","workers":3,"startMoney":200000,"income":3000,"customer":3,"status":0,"money":1000,
            famous:55,rent:29000,cost:0,manager:1,loaction:8,stock:260,level:1,ice:150,leftStock:100,leftIce:150
        },
        {
            "id":"sanming","shopName":"三明店","workers":3,"startMoney":300000,"income":3000,"customer":3,"status":0,"money":1000,
            famous:13,rent:30000,cost:0,manager:1,loaction:6,stock:260,level:1,ice:80,leftStock:100,leftIce:80
        },
        {
            "id":"fuzhou","shopName":"福州店","workers":3,"startMoney":500000,"income":3000,"customer":3,"status":0,"money":100,
            famous:13,rent:63000,cost:0,manager:1,loaction:16,stock:200,level:1,ice:150,leftStock:100,leftIce:150
        },
        {
        
            "id":"longyan","shopName":"龙岩店","workers":3,"startMoney":300000,"income":3000,"customer":3,"status":0,"money":100,
            famous:13,rent:39000,cost:0,manager:1,loaction:10,stock:220,level:1,ice:100,leftStock:100,leftIce:100
        },
        {
            "id":"putian","shopName":"莆田店","workers":3,"startMoney":300000,"income":3000,"customer":3,"status":0,"money":100,
            famous:13,rent:42000,cost:0,manager:1,loaction:10,stock:220,level:1,ice:130,leftStock:100,leftIce:130
        },
        {
            "id":"quanzhou","shopName":"泉州店","workers":3,"startMoney":300000,"income":3000,"customer":3,"status":0,"money":100,
            famous:12,rent:52000,cost:0,manager:1,loaction:15,stock:180,level:1,ice:90,leftStock:100,leftIce:90
        },
        {
            "id":"xiamen","shopName":"厦门店","workers":3,"startMoney":600000,"income":3000,"customer":3,"status":0,"money":100,
            famous:12,rent:80000,cost:0,manager:1,loaction:29,stock:200,level:1,ice:120,leftStock:100,leftIce:120
        },
        {
            "id":"zhangzhou","shopName":"漳州店","workers":3,"startMoney":300000,"income":3000,"customer":3,"status":0,"money":100,
            famous:12,rent:42000,cost:0,manager:1,loaction:19,stock:180,level:1,ice:109,leftStock:100,leftIce:109
        }
    ],
}


let player = {
    playerName:"陈东铭",
    money:20000,
    joinCount:21,
    selfCount:22,
    income:1000,
    storeCount:32,
    mapOpen:false //地图开通资格
}

let time = {
    min:1,
    hour:11,
    day:1
}

 let adPosition = {
    speed: false,//5倍速
    map: false,//加盟资格
    oneKey: false,//一键进货
 }
 
 let times = {
     count: 4,
     lastTime: {month: -1, day: -1},
 }
 //随机天气
 let weatherList = [
     {weatherId:'baoyu',weatherName:"暴雨",effect:8},
     {weatherId:'daqingtian',weatherName:"烈日炎炎",effect:8},
     {weatherId:'qingtian',weatherName:"晴天",effect:1},
     {weatherId:'taifeng',weatherName:"台风",effect:9},
     {weatherId:'wumai',weatherName:"雾霾",effect:6},
     {weatherId:'xiaoyu',weatherName:"小雨",effect:2},
     {weatherId:'yintian',weatherName:"阴天",effect:1},
     {weatherId:'yutian',weatherName:"雨天",effect:2}
 ]
 let tips = [
     '高级店铺可提升客单价噢',
     '高级顾客的等待时间更短了',
     '可在进货市场选择批量进货，简化操作',
     '人在家中坐，奶茶自然来',
     '台风天气许多顾客都不敢出门',
     '下午到晚上可能会爆发一波人流，请提前做好准备',
     '店铺菜品越丰富，顾客的消费意愿更强噢',
     '尝试提升店铺的档次，高级顾客消费能力更强噢',
     '开分店容易导致手忙脚乱',
     '每个月的1号可以和员工解约',
     '雇佣中解约会被员工投诉并罚款噢，请慎重',
     '可以通过消费记录查看顾客的消费情况'
 ]

let foodMaterials = [
    {
        id:'bingkuai',name:'冰块',saveTime:999,cost:0.5,transport:1,stock:0,ice:0.1,count:0
    },
    {
        id:'tang',name:'冰糖',saveTime:999,cost:0.5,transport:2,stock:0.1,ice:0,count:0
    },
    {
        id:'caomei',name:'草莓',saveTime:48,cost:0.5,transport:2,stock:0,ice:0.2,count:0
    },
    {
        id:'niunai',name:'牛奶',saveTime:24,cost:2,transport:2,stock:0.3,ice:0,count:0
    },
    {
        id:'mangguo',name:'芒果',saveTime:48,cost:3,transport:4,stock:0.5,ice:0,count:0
    },
    {
        id:'ximi',name:'西米',saveTime:96,cost:1,transport:2,stock:0.2,ice:0,count:0
    },
    {
        id:'mugua',name:'木瓜',saveTime:24,cost:5,transport:3,stock:0,ice:2,count:0
    },
    {
        id:'ningmeng',name:'柠檬',saveTime:96,cost:3,transport:3,stock:0,ice:1,count:0
    },
    {
        id:'hongdou',name:'红豆',saveTime:96,cost:4,transport:3,stock:1,ice:0,count:0
    },
    {
        id:'xiancao',name:'仙草',saveTime:24,cost:3,transport:3,stock:0,ice:0.2,count:0
    },
    {
        id:'putaogan',name:'葡萄干',saveTime:96,cost:0.5,transport:2,stock:0,ice:0.2,count:0
    },
    {
        id:'xiannai',name:'鲜奶',saveTime:48,cost:5,transport:6,stock:0,ice:1,count:0
    },
    {
        id:'yuyuan',name:'芋圆',saveTime:24,cost:0.5,transport:6,stock:0,ice:0.2,count:0
    },
    {
        id:'qiaokeli',name:'巧克力',saveTime:24,cost:3,transport:6,stock:0,ice:0.3,count:0
    },
    {
        id:'dahongpao',name:'大红袍',saveTime:240,cost:4,transport:12,stock:0,ice:0.2,count:0
    },
    {
        id:'huolongguo',name:'火龙果',saveTime:24,cost:5,transport:12,stock:0,ice:0.5,count:0
    },
    {
        id:'lvdou',name:'绿豆',saveTime:240,cost:1,transport:12,stock:0.2,ice:0,count:0
    },
    {
        id:'xigua',name:'西瓜',saveTime:120,cost:3,transport:24,stock:1,ice:0,count:0
    },
    {
        id:'shuimitao',name:'水蜜桃',saveTime:48,cost:2,transport:24,stock:0,ice:0.5,count:0
    },
    {
        id:'tudou',name:'土豆',saveTime:96,cost:1,transport:24,stock:0.5,ice:0,count:0
    },
    {
        id:'jitui',name:'鸡腿',saveTime:48,cost:3,transport:24,stock:0,ice:0.5,count:0
    },
    {
        id:'baiguo',name:'白果',saveTime:48,cost:1,transport:24,stock:0.5,ice:0,count:0
    },
    {
        id:'xiangchang',name:'香肠',saveTime:96,cost:1,transport:24,stock:0,ice:1,count:0
    },
    {
        id:'gongwan',name:'贡丸',saveTime:48,cost:1,transport:24,stock:0,ice:0.5,count:0
    },
    {
        id:'yangrou',name:'羊肉',saveTime:48,cost:2,transport:24,stock:0,ice:1,count:0
    },
    {
        id:'yatou',name:'鸭头',saveTime:48,cost:1,transport:24,stock:0,ice:1,count:0
    },
    {
        id:'jizhua',name:'鸡爪',saveTime:48,cost:2,transport:24,stock:0,ice:0.5,count:0
    },
    {
        id:'jipai',name:'鸡排',saveTime:48,cost:1,transport:24,stock:0,ice:0.5,count:0
    },
    {
        id:'mianpi',name:'面皮',saveTime:96,cost:1,transport:24,stock:0,ice:0.2,count:0
    },
    {
        id:'jidan',name:'鸡蛋',saveTime:96,cost:1,transport:24,stock:0,ice:0.4,count:0
    },
    {
        id:'niurou',name:'牛肉',saveTime:48,cost:3,transport:24,stock:0,ice:0.5,count:0
    },
    {
        id:'yazhua',name:'鸭爪',saveTime:96,cost:1,transport:24,stock:0,ice:0.5,count:0
    },
]
let foodList = [
    {   level:1,
        list:[
            //食品信息
            { id:1, name:"四季奶青", level:1, cost:1, price:11, koubei:1, saveTime:12,materials:['bingkuai','tang'],state:0, stock:12},
            { id:2, name:"波霸奶茶", level:1, cost:1, price:12, koubei:1, saveTime:12,materials:['tang',"dahongpao","caomei"],state:0,stock:12},
            { id:3, name:"杨枝乱露", level:1, cost:1, price:11, koubei:1, saveTime:12,materials:['mangguo','tang',"ximi"],state:1,stock:12},
            { id:4, name:"柠檬汁", level:1, cost:1, price:11, koubei:1, saveTime:12,materials:['mugua','dahongpao',"tang"],state:1,stock:12},
            { id:5, name:"四季春茶", level:1, cost:1, price:12, koubei:1, saveTime:12,materials:['mangguo','dahongpao',"tang"],state:1,stock:12},
            { id:6, name:"柠檬奶茶", level:1, cost:2, price:12, koubei:1, saveTime:12,materials:['ningmeng','dahongpao',"tang"],state:1,stock:12},
            { id:7, name:"红茶玛奇朵", level:1, cost:1, price:11, koubei:1, saveTime:12,materials:['hongdou','ximi',"tang"],state:1,stock:12},
            { id:8, name:"Good抹柠", level:1, cost:3, price:18, koubei:1, saveTime:12,materials:['hongdou','putaogan',"tang","yuyuan"],state:1,stock:12},
            { id:9, name:"茶冻奶绿", level:1, cost:4, price:21, koubei:1, saveTime:12,materials:['hongdou','putaogan','qiaokeli',"tang","yuyuan"],state:1,stock:12},
            { id:10, name:"百香三重奏", level:1, cost:5, price:18, koubei:1, saveTime:12,materials:['mugua','dahongpao',"xiannai"],state:1,stock:12},
            { id:11, name:"冰淇淋红茶", level:1, cost:4, price:19, koubei:1, saveTime:12,materials:['mangguo','qiaokeli',"tang"],state:1,stock:12},
        ]
    },
    {
        level:2,list:[
            { id:12, name:"黄金珍奶", level:1, cost:2, price:16, koubei:1, saveTime:12,state:1,materials:['bingkuai','tang','shuimitao'],stock:12},
            { id:13, name:"霸王水果茶", level:1, cost:3, price:15, koubei:1, saveTime:12,state:1,materials:['bingkuai','tang','xigua'],stock:12},
            { id:14, name:"原谅绿茶", level:1, cost:4, price:15, koubei:1, saveTime:12,state:1,materials:['bingkuai','lvdou','tang'],stock:12},
            { id:15, name:"一颗柠檬", level:1, cost:3, price:15, koubei:1, saveTime:12,state:1,materials:['bingkuai','mangguo','tang'],stock:12},
            { id:16, name:"雪山多肉", level:1, cost:3, price:17, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:17, name:"金菠萝", level:1, cost:3, price:16, koubei:1, saveTime:12,state:1,materials:['bingkuai','xigua','qiaokeli','tang'],stock:12},
            { id:36, name:"葡萄波茶", level:1, cost:4, price:16, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:18, name:"桃香奶青", level:1, cost:4, price:13, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:19, name:"多肉葡萄", level:1, cost:3, price:15, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:21, name:"桃花奶茶", level:1, cost:3, price:17, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:22, name:"橙香绿茶", level:1, cost:5, price:23, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:23, name:"芒果波霸", level:1, cost:3, price:15, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:24, name:"初恋柠檬", level:1, cost:3, price:16, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:25, name:"霸气橙香", level:1, cost:3, price:17, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12}
        ]
    },
    {
        level:3,list:[
            { id:32, name:"马不停蹄", level:1, cost:22, price:46, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:33, name:"皮爆柠", level:1, cost:13, price:45, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:34, name:"多肉荔枝", level:1, cost:14, price:55, koubei:1, saveTime:12,state:1,materials:["tudou"],stock:12},
            { id:35, name:"红柚波露", level:1, cost:13, price:45, koubei:1, saveTime:12,state:1,materials:['baiguo'],stock:12},
            { id:40, name:"格雷兄弟", level:1, cost:13, price:37, koubei:1, saveTime:12,state:1,materials:['jitui'],stock:12},
            { id:45, name:"草莓青柠", level:1, cost:13, price:36, koubei:1, saveTime:12,state:1,materials:['yatou'],stock:12},
            { id:37, name:"牛油养乐多", level:1, cost:14, price:36, koubei:1, saveTime:12,state:1,materials:['xiangchang'],stock:12},
            { id:38, name:"观音奶茶", level:1, cost:14, price:33, koubei:1, saveTime:12,state:1,materials:['gongwan'],stock:12},
            { id:39, name:"西瓜桃冰", level:1, cost:13, price:35, koubei:1, saveTime:12,state:1,materials:['jidan','mianpi'],stock:12},
            { id:31, name:"青羔奶茶", level:1, cost:13, price:37, koubei:1, saveTime:12,state:1,materials:['yazhua'],stock:12},
            { id:41, name:"桃芝妖妖", level:1, cost:13, price:33, koubei:1, saveTime:12,state:1,materials:['jizhua'],stock:12},
            { id:42, name:"花果山", level:1, cost:13, price:35, koubei:1, saveTime:12,state:1,materials:['jipai'],stock:12},
            { id:43, name:"亿杯桃", level:1, cost:23, price:26, koubei:1, saveTime:12,state:1,materials:['yangrou'],stock:12},
            { id:44, name:"杨梅覆雪", level:1, cost:13, price:27, koubei:1, saveTime:12,state:1,materials:['niurou'],stock:12}
        ]
    },
    {
        level:4,list:[
            { id:42, name:"七彩冰花", level:2, cost:22, price:46, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:43, name:"七彩烧仙草", level:2, cost:13, price:45, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:44, name:"绿豆冰沙", level:2, cost:14, price:55, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:45, name:"芒果冰沙", level:2, cost:13, price:45, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:45, name:"金钻奶茶", level:2, cost:13, price:37, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:46, name:"西瓜冰沙", level:2, cost:13, price:36, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:47, name:"红豆西米露", level:2, cost:14, price:36, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:48, name:"熊猫奶盖", level:2, cost:14, price:33, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:49, name:"哈密5冰沙", level:2, cost:13, price:35, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:41, name:"苹果冰沙", level:2, cost:13, price:37, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:42, name:"芒果汁", level:2, cost:13, price:33, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:43, name:"水蜜桃冰沙", level:2, cost:13, price:35, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:44, name:"柳橙冰沙", level:2, cost:23, price:26, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:45, name:"密梨冰沙", level:2, cost:13, price:27, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12}
        ]
    },
    {
        level:5,list:[
            { id:52, name:"七彩冰花", level:2, cost:22, price:46, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:53, name:"七彩烧仙草", level:2, cost:13, price:45, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:54, name:"绿豆冰沙", level:2, cost:14, price:55, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:55, name:"芒果冰沙", level:2, cost:13, price:45, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:55, name:"金钻奶茶", level:2, cost:13, price:37, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:56, name:"西瓜冰沙", level:2, cost:13, price:36, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:57, name:"红豆西米露", level:2, cost:14, price:36, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:58, name:"熊猫奶盖", level:2, cost:14, price:33, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:59, name:"哈密瓜冰沙", level:2, cost:13, price:35, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:51, name:"苹果冰沙", level:2, cost:13, price:37, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:52, name:"芒果汁", level:2, cost:13, price:33, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:53, name:"水蜜桃冰沙", level:2, cost:13, price:35, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:54, name:"柳橙冰沙", level:2, cost:23, price:26, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12},
            { id:55, name:"密梨冰沙", level:2, cost:13, price:27, koubei:1, saveTime:12,state:1,materials:['bingkuai','ximi','xigua','tang'],stock:12}
        ]
    }
    
]
// 顾客生成列表
let customerList = [
    {id:1,name:"普通顾客",money:20,level:1},
    {id:2,name:"中级顾客",money:50,level:2},
    {id:3,name:"高级顾客",money:330,level:3},
    {id:4,name:"超级顾客",money:1000,level:4},
    {id:5,name:"穷鬼",money:13,level:5},
]
//  顾客爱好列表，每个顾客的喜好不同
let foodLoveList = [
    {
        level:1,foodList:[
            
        ]
    }
]
const saleList = [

]
module.exports = {
    player: cc.sys.localStorage.getItem('player')?JSON.parse(cc.sys.localStorage.getItem('player')):JSON.parse(JSON.stringify(player)),
    shopData:cc.sys.localStorage.getItem('shopList')?JSON.parse(cc.sys.localStorage.getItem('shopList')):JSON.parse(JSON.stringify(shopData)),//店铺
    adPosition:cc.sys.localStorage.getItem('adPosition')?JSON.parse(cc.sys.localStorage.getItem('adPosition')):JSON.parse(JSON.stringify(adPosition)),//广告位
    weatherList,//天气
    customerList,//顾客列表
    foodList,//食物列表
    foodMaterials,//原材料
    time:cc.sys.localStorage.getItem('time')?JSON.parse(cc.sys.localStorage.getItem('time')):JSON.parse(JSON.stringify(time)),//时间
    saleList,//店铺消费记录
    tips,//友情提示
    achieveList: achieve,
    times:cc.sys.localStorage.getItem('times')?JSON.parse(cc.sys.localStorage.getItem('times')):JSON.parse(JSON.stringify(times)),
    achieveProcess: cc.sys.localStorage.getItem('achieveProcess')?JSON.parse(cc.sys.localStorage.getItem('achieveProcess')):JSON.parse(JSON.stringify(achieveProcess)),//时间
}